<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>越野机车管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="Public/styles/general.css" rel="stylesheet" type="text/css" />
<link href="Public/styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/wxmraiguo/2/Public/Js/jquery.min.js"></script>
<style type="text/css">
body {
  color: white;
}
</style>

<script type="text/javascript">
//下面这段代码是放置 session过期了 在主框架显示登录界面的js代码
// if(window.parent != window) {
//     window.top.location.href = location.href;
// }

  $(function(){

  });
</script>

</head>


<body style="background: #333">
<form method="post" action="/wxmraiguo/2/index.php/Admin/Index/login" name='theForm' id="login_form">
  <table cellspacing="0" cellpadding="0" style="margin-top: 100px" align="center">
  <tr>
    <td><img src="/wxmraiguo/2/Public/Images/login.png" width="178" height="256" border="0" alt="" /></td>
    <td style="padding-left: 50px">
      <table>
        <tr>
          <td>管理员姓名：</td>
          <td><input type="text" name="username" pattern="^\w{2,12}$" required/></td>
        </tr>
        <tr>
          <td>管理员密码：</td>
          <td><input type="password" name="password" pattern = "^[a-zA-Z0-9]{2,10}$" required></td>
        </tr>
              <tr>
          <td>验证码：</td>
          <td><input type="text" name="captcha" class="captcha" pattern = "^[a-zA-Z0-9]{4}$"/ required></td>
        </tr>
    
    <!-- 验证码模块 -->
      <tr>
        <td colspan="2" align="right">
          <img src="/wxmraiguo/2/index.php/Admin/Index/verifyImg" alt="CAPTCHA" style="cursor: pointer;" title="看不清？点击更换另一个验证码。" onclick="this.src='/wxmraiguo/2/index.php/Admin/Index/verifyImg/' + Math.random()" />
        </td>
      </tr>
    <!-- ***** -->
      <tr>
        <td colspan="2">
          <input type="checkbox" value="1" name="remember" id="remember" />
          <label for="remember">请保存我这次的登录信息。</label>
        </td>
      </tr>

      <tr>
        <td>&nbsp;</td>
        <td><input type="submit" value="进入管理中心" class="button" /></td>
      </tr>


      <tr>
        <td colspan="2" align="right">&raquo; <a href="../" style="color:white">返回首页</a> &raquo; <a href="" style="color:white">您忘记了密码吗?</a></td>
      </tr>
      </table>
    </td>
  </tr>
  </table>
</form>
</body>